﻿<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>MES自定义对象子项维护</title>
  <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
  <style>
    .inline-block {
      display: inline-block;
    }

    .divLabel {
      margin-bottom: 5px;
    }

    /* 重写下拉框样式 */
    .select {
      width: 200px;
    }

    .combobox-item {
      height: 32px;
    }

    /* 重写下拉框样式 */
    .textbox-text {
      line-height: 22px !important;
      height: 22px !important;
    }
  </style>
</head>

<body>
  <!-- 查询区域start -->
  <div class="panelSection" id="queryZone">
    <div class="easyui-panel " title="查询区域" style="padding:3px 3px 5px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div>
        <div class="inline-block">
          <div class="divLabel">父对象名称</div>
          <select id='ddlCumtomObject' data-options='editable:false' class='easyui-combobox select'></select>
        </div>
        <div class="inline-block">
          <div class="divLabel">后缀名称:</div>
          <input id="txtCustomObjectItemsName" class="easyui-textbox" />
        </div>
        <div class="inline-block">
          <div class="divLabel">创建人:</div>
          <input id="txtCreateEmp" class="easyui-textbox" style="width:100px;" />
        </div>
        <div class="inline-block">
          <div class="divLabel">创建时间:</div>
          <input id="createdateStart" type="text" class="easyui-datebox" style="width:120px;" />
        </div>
        <div class="inline-block">
          <div class="divLabel">至:</div>
          <input id="createdateEnd" type="text" class="easyui-datebox" style="width:120px;" />
        </div>
        <div class="inline-block">
          <div class="divLabel">启用状态</div>
          <select id='ddlIsuse' data-options='editable:false' class='easyui-combobox select' style="width:80px;">
            <option value="全部">全部</option>
            <option value="0">启用</option>
            <option value="1">停用</option>
          </select>
        </div>
        <button id="btnSearch" class="easyui-linkbutton" data-options="">查 询</button>
        <button id="btnReset" class="easyui-linkbutton" data-options="">重 置</button>
      </div>
    </div>
  </div>
  <!-- 查询区域end -->

  <!-- 查询结果区域start -->
  <div class="panelSection" id="dataGridZone">
    <div class="easyui-panel " title="查询结果" style="padding: 3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div style="background: #fff; margin: 3px 0px 3px 3px">
        <div style="width: 950px;">
          <table id="tbCustomObject" class="easyui-datagrid" style="height: 250px;" data-options="rownumbers:true">
          </table>
          <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]
                ">
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 查询结果区域end -->

  <!-- 子项维护 start -->
  <div class="panelSection" id="processZone">
    <div class="easyui-panel " title="子项维护" style="padding:3px 3px 5px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div>
        <div class="inline-block">
          <div class="divLabel" style="font-weight:bold;">父对象名称*:</div>
          <select id='ddlInputCumtomObject' data-options='editable:false' class='easyui-combobox select'></select>
        </div>
        <div class="inline-block">
          <div class="divLabel" style="font-weight:bold;">后缀标识*:</div>
          <input id="txtInputCustomObjectItemsName" class="easyui-textbox" />
        </div>
        <div class="inline-block">
          <div class="divLabel" style="font-weight:bold;">后缀描述*:</div>
          <input id="txtInputCustomObjectItemsDesc" class="easyui-textbox" />
        </div>
        <div class="inline-block">
          <div class="divLabel">启用状态</div>
          <select id='ddlInputIsuse' data-options='editable:false' class='easyui-combobox select' style="width:100px;">
            <option value="0">启用</option>
            <option value="1">停用</option>
          </select>
        </div>
        <div class="inline-block">
          <div class="divLabel">备注:</div>
          <input id="txtInputCustomObjectItemsNotes" class="easyui-textbox" style="width:283px;" />
        </div>
      </div>
    </div>
  </div>
  <!-- 子项维护 end -->

  <!-- 操作区域start -->
  <div class="panelSection" id="operateZone">
    <div class="easyui-panel " title="操作区域" style="padding:3px 3px 5px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <button id="btnSave" class="easyui-linkbutton" data-options="">添加</button>
      <button id="btnUpdate" class="easyui-linkbutton" data-options="">更新</button>
      <button id="btnDel" class="easyui-linkbutton" data-options="">删除</button>
      <button id="btnToggleIsuse" class="easyui-linkbutton" data-options="">停用/启用切换</button>
    </div>
  </div>
  <!-- 操作区域end -->

  <div id="statusMessage" style="font-size: 14px; height: 40px"></div>

  <!-- 对话框start -->
  <div id="dialog" class="easyui-window" title="后缀标识信息修改"
    data-options="minimizable:false,modal:true,collapsible:false,minimizable:false,maximizable:false,closable:false,closed:true,draggable:false"
    style="width:1020px;height:600px;padding:10px;top: 10px;">
    <!-- 对话框表格区 -->
    <div class="panelSection">
      <div class="panelSection" id="processZone">
        <div class="easyui-panel " title="后缀标识信息" style="padding:3px 3px 5px;"
          data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
          <div>
            <div class="inline-block">
              <div class="divLabel">父对象名称:</div>
              <select id='ddlDialogCumtomObject' data-options='editable:false' class='easyui-combobox select'
                disabled></select>
            </div>
            <div class="inline-block">
              <div class="divLabel" style="font-weight:bold;">后缀标识*:</div>
              <input id="txtDialogCustomObjectItemsName" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel" style="font-weight:bold;">后缀描述*:</div>
              <input id="txtDialogCustomObjectItemsDesc" class="easyui-textbox" />
            </div>
            <div class="inline-block">
              <div class="divLabel">备注:</div>
              <input id="txtDialogCustomObjectItemsNotes" class="easyui-textbox" style="width:283px;" />
            </div>
          </div>

          <div style="margin-top: 5px;">
            <button id="btnDialogSave" class="easyui-linkbutton" data-options="">保 存</button>
            <button id="btnDialogClose" class="easyui-linkbutton" data-options="">关 闭</button>
          </div>
        </div>
      </div>
      <div id="dialogMessage" style="margin-top:5px;"></div>
    </div>
  </div>
  <!-- 对话框end -->
</body>

</html>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/array.pollyfill.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/dayjs.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomObjectItemsMaint.js" type="text/javascript"></script>